﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ShopCD.GUI
{
    public partial class frm_DanhMuc : Form
    {
        public frm_DanhMuc()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 
        /// </summary>
        BusinessLogic.bl_DanhMuc blDM;


        private void frm_DanhMuc_Load(object sender, EventArgs e)
        {
            blDM = new BusinessLogic.bl_DanhMuc(this);
            blDM.Show(null);
            MessageBox.Show("Ba chim!");
        }

        private void bt_Them_Click(object sender, EventArgs e)
        {
            blDM.Add();
        }

        private void bt_Xoa_Click(object sender, EventArgs e)
        {
            blDM.Delete();
        }

        private void bt_Sua_Click(object sender, EventArgs e)
        {
            blDM.Edit();
        }

        private void bt_Luu_Click(object sender, EventArgs e)
        {
            blDM.Save();
        }

    }
}
